package com.waitingresult.demo.annotation;

import com.waitingresult.demo.enums.BaseEnum;

import java.lang.annotation.*;

/**
 * @Author: WangShuai
 * @CreateTime: 2023/5/18  11:11
 * @Description:
 * @Version: 1.0
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface LogName {
    String enumMethodName() default "";
    Class parameterType() default Object.class;

    /**
     * 字段中文名
     *
     * @return
     */

    String value() default "";

    /**
     * 类型参数对应枚举
     *
     * @return
     */
    Class<? extends BaseEnum> modelTypeEnums()  default BaseEnum.class;


}
